package qldc.pm.tienan.util;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.liferay.portal.kernel.util.Validator;

public class DateUtils {

	public static String printDate(Date date) {
		SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yy");
		if(Validator.isNotNull(date)) {
		return sdf.format(date);
		} else {
			return "";
		}
	}
}
